package com.plian.system.entity.pf;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.plian.system.mybatis.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;

/**
 * @Description: TODO
 * @Author: Take-off
 * @Date: 2023/3/13 9:48 AM
 * @Param
 * @return
 * @Version: 1.0
 **/@Data
@TableName("pf_enterprise_annuity_detail")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "EnterpriseAnnuityDetail 对象", description = "企业年金发放情况 详情表")
public class EnterpriseAnnuityDetail extends BaseEntity {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主表Id")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long baseId;

    @ApiModelProperty(value = "企业Id")
    private String orgId;

    @ApiModelProperty(value = "企业名称")
    private String orgName;

    @ApiModelProperty(value = "企业性质：1-盈利；2-非经营性")
    private Integer orgNature;

    @ApiModelProperty(value = "缴费基数")
    private BigDecimal paymentBase;

    @ApiModelProperty(value = "缴费比例（%）")
    private BigDecimal paymentRatio;

    @ApiModelProperty(value = "缴费金额")
    private BigDecimal paymentAmount;

    @ApiModelProperty(value = "参加职工人数")
    private BigDecimal staffNumber;

    @ApiModelProperty(value = "参加职工占全部职工比例")
    private BigDecimal staffRatio;

    @ApiModelProperty(value = "可计提比例（%）")
    private BigDecimal deductibleRatio;

    @ApiModelProperty(value = "可计提金额")
    private BigDecimal deductibleAmount;

    @ApiModelProperty(value = "分配时倾斜情况")
    private String distributeSkew;


}
